home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1386 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. From: knarf@nasim.sta.sub.org (Frank Bartels)
  2. Subject: Re: Deleting owned files...
  3. Date: Wed, 11 May 1994 18:29:24 +0200 (MET DST)
  4. In-Reply-To: <9405111029.AA15363@issan.informatik.uni-dortmund.de> from "Andreas Schwab" at May 11, 94 12:29:56 pm
  5. Mime-Version: 1.0
  6.  
  7. Andreas Schwab wrote:
  8. > Stephen Usher <Stephen.Usher@earth.ox.ac.uk> writes:
  9. > |> Under BSD the symatics are:-
  10. > |>     drwxrwxrwx    Anyone can delete, create or rename files.
  11. > |>     drwxr-xr-x    Only owner of directory can do the above.
  12. > |>     drwxrwtrwx    Anyone can create or delete their own files, no-one
  13. > |>             else (other than root) can do so.
  14.  
  15. This is not true. The owner of the directory is also permitted to delete
  16. entries in a directory where the sticky bit is set.
  17.  
  18. > |> The important thing is the directory's protection, not the file's, which
  19. > |> determines who can do what to files in the directory, other than for
  20. > |> chown'ing. To chown a file you need to be the owner or root.
  21. > Under BSD you cannot chown unless you are root, even the owner (of the
  22. > file) cannot.  Otherwise you could fill up other peoples quotas :-)
  23.  
  24. Or you just make an sh suid and give it to root (asuming there is no
  25. special mechanism deleting the suid-bit when chowning).
  26.  
  27. Bye,
  28. Knarf
  29. -- 
  30.     Frank Bartels       |      Fax/UUCP: + 49 89 5469593          | MiNT is
  31. knarf@nasim.sta.sub.org | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!
  32.